$(function () {
  'use strict';
  var $distpicker = $('#distpicker');
  $distpicker.distpicker({
    province: '福建省',
    city: '厦门市',
    district: '思明区'
  });
  $('#reset').click(function () {
    $distpicker.distpicker('reset');
  });
  $('#reset-deep').click(function () {
    $distpicker.distpicker('reset', true);
  });
  $('#destroy').click(function () {
    $distpicker.distpicker('destroy');
  });
  $('#distpicker1').distpicker();
  $('#distpicker2').distpicker({
    province: '福建省',
    city: '厦门市',
    district: '思明区'
  });

});
